package com.wlps.vo.sendcenter.commodity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wlps.entity.SecondClassification;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/9
 */
@ApiModel(value = "一级分类Vo")
@Data
public class FirstClassificationVo {
    @ApiModelProperty(value = "一级分类id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "一级分类名称")
    private String firstName;

    @ApiModelProperty(value = "一级分类商品数量")
    private Long commodityNum;
    @ApiModelProperty(value = "一级分类下的二级分类数量")
    private Long secondClassificationNum;

    @ApiModelProperty(value = "一级分类下的所有二级分类列表")
    private List<SecondClassification> secondClassificationsList;
}
